package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短信对象 sys_sms
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public class SysSms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long ssId;

    /** 接收号码 */
    @Excel(name = "接收号码")
    private String ssPhone;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String ssMessage;

    /** 定时发送 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "定时发送", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ssSetTime;

    /** 状态 */
    @Excel(name = "状态")
    private String ssState;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ssSendTime;

    /** 提交结果 */
    @Excel(name = "提交结果")
    private String ssResult;

    public void setSsId(Long ssId) 
    {
        this.ssId = ssId;
    }

    public Long getSsId() 
    {
        return ssId;
    }
    public void setSsPhone(String ssPhone) 
    {
        this.ssPhone = ssPhone;
    }

    public String getSsPhone() 
    {
        return ssPhone;
    }
    public void setSsMessage(String ssMessage) 
    {
        this.ssMessage = ssMessage;
    }

    public String getSsMessage() 
    {
        return ssMessage;
    }
    public void setSsSetTime(Date ssSetTime) 
    {
        this.ssSetTime = ssSetTime;
    }

    public Date getSsSetTime() 
    {
        return ssSetTime;
    }
    public void setSsState(String ssState) 
    {
        this.ssState = ssState;
    }

    public String getSsState() 
    {
        return ssState;
    }
    public void setSsSendTime(Date ssSendTime) 
    {
        this.ssSendTime = ssSendTime;
    }

    public Date getSsSendTime() 
    {
        return ssSendTime;
    }
    public void setSsResult(String ssResult) 
    {
        this.ssResult = ssResult;
    }

    public String getSsResult() 
    {
        return ssResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ssId", getSsId())
            .append("ssPhone", getSsPhone())
            .append("ssMessage", getSsMessage())
            .append("ssSetTime", getSsSetTime())
            .append("ssState", getSsState())
            .append("ssSendTime", getSsSendTime())
            .append("ssResult", getSsResult())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
